package org.shiwen.week9;

public interface InterfaceA {
    void showA();
}

interface InterfaceB {
    void showB();
}

interface InterfaceC extends InterfaceB, InterfaceA {
    void showC();
}

interface InterfaceD extends InterfaceB {
    void showD();
}

class Implement implements InterfaceC, InterfaceD {
    @Override
    public void showA() {
        System.out.println("showA");
    }

    @Override
    public void showB() {
        System.out.println("showB");
    }

    @Override
    public void showC() {
        System.out.println("showC");
    }

    @Override
    public void showD() {
        System.out.println("showD");
    }
}